using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using yq.IBase;
using yq.Model.Base;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace yq.Model.Logic
{
    /// <summary>
    /// Team_List - 团队信息 - 对象继承类
    /// </summary>
    [MetadataType(typeof(TeamListValidaTion))]
    public class TeamList : ITeamList<TeamList>
    {


       #region 生成实体类验证属性
       /// <summary>
       /// 辅助验证类
       /// </summary>
       [Bind]
       public class TeamListValidaTion
       {

     

        /// <summary>
        /// TeamId
        /// </summary>
        [Display(Name ="TeamId")]
        [Required]
        [StringLength(36)]
        public String TeamId
        {
         get; set; 
        }


       
     

        /// <summary>
        /// 组名称
        /// </summary>
        [Display(Name ="组名称")]
        [Required]
        [StringLength(50)]
        public String Title
        {
         get; set; 
        }


       
     

        /// <summary>
        /// 图片
        /// </summary>
        [Display(Name ="图片")]
        [Required]
        [StringLength(36)]
        public String ImageId
        {
         get; set; 
        }


       
     

        /// <summary>
        /// 团队管理员Id
        /// </summary>
        [Display(Name ="团队管理员Id")]
        [Required]
        [StringLength(36)]
        public String AdminId
        {
         get; set; 
        }


       
     

        /// <summary>
        /// 说明
        /// </summary>
        [Display(Name ="说明")]
        [StringLength(500)]
        public String Detailed
        {
         get; set; 
        }


       

       
       }
       #endregion 生成实体类验证属性
    }
}
